<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 400px;
            height: 400px;
            background-color: pink;

            background-image: url(https://qiniu.777nx.cn/avatar.webp);
            background-repeat: no-repeat;

            /* background-position: 0 0; */
            /* background-position: left top; */

            /* background-position: right bottom; */

            /* background-position: 50px 0; */
            /* background-position: -50px 0; */

            /* background-position: 0 100px; */
            /* background-position: 0 -100px; */

            /* background-position: 50px center; */

            /* 特殊写法 */
            /* background-position: bottom left; */
            /* background-position: bottom; */

            background-position: 50px;
        }
    </style>
</head>
<body>
    <div>div 标签</div>
</body>
</html>